<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="public.jsp"%>

	<div>
	<input type="hidden" id="mark" value="${mark }">
		<ul>
			<li class="syqk" id="wsy">
				<a href="javascript:checkWSY()" title="${wsy }">${wsy }</a>
			</li>
			<li class="syqk" id="ysy">
				<a href="javascript:checkYSY()" title="${ysy }">${ysy }</a>
			</li>
			<li class="syqk" id="bsy">
				<a href="javascript:checkBSY()" title="${bsy }">${bsy }</a>
			</li>
			<li class="checkOrBingding">
				<input id="codeNo" title="请输入优惠券代码"><input type="button" id="checkYHQNo" title="查询按钮" value="查询" onclick="checkYHQNo()"><input type="button" id="checkBinding" value="绑定" title="绑定按钮" onclick="checkBinding()">
			</li>
		</ul>
	</div>
	<div class="YHQorder">
		<div class="flight_infoMX">
			<table>
				<tr>
					<th>优惠券代码</th>
					<th>状态</th>
					<th>券金额</th>
					<th>有效期</th>
					<th>退改签规则</th>
				</tr>
				<c:forEach items="${YHQs}" var="list">
				<tr>
					<td>${list.code }</td>
					<td>${list.status }</td>
					<td>${list.money }</td>
					<td>${list.date }</td>
					<td style="position:relative;" onmouseover="showOrder(this)" onmouseout="hideOrder(this)">${list.orderDoc } ${list.order }</td>
				</tr>
				</c:forEach>
			</table>
		</div>
	</div>			